﻿using System;
namespace PS.Model
{
	/// <summary>
	/// 项目资料表
	/// </summary>
	[Serializable]
	public partial class RepProjectResource
	{
		public RepProjectResource()
		{}
		#region Model
		private int _dataid;
		private int? _repprojectinfoid;
		private string _datumtitle;
		private string _filetype;
		private int _datetypeid;
		private string _filename;
		private string _keyword;
		private string _datamemo;
		private string _creator;
		private DateTime? _createtime= DateTime.Now;
		private string _editor;
		private DateTime? _edittime= DateTime.Now;
		private int? _disporder=0;
		private int? _validmark=1;
		private string _spare1;
		private string _spare2;
		private string _spare3;
		private string _spare4;
		/// <summary>
		/// 资料ID
		/// </summary>
		public int DataID
		{
			set{ _dataid=value;}
			get{return _dataid;}
		}
		/// <summary>
		/// 项目ID
		/// </summary>
		public int? RepProjectInfoID
		{
			set{ _repprojectinfoid=value;}
			get{return _repprojectinfoid;}
		}
		/// <summary>
		/// 资料标题
		/// </summary>
		public string DatumTitle
		{
			set{ _datumtitle=value;}
			get{return _datumtitle;}
		}
		/// <summary>
		/// 文件类型
		/// </summary>
		public string FileType
		{
			set{ _filetype=value;}
			get{return _filetype;}
		}
		/// <summary>
		/// 内容类型ID   对应：EquipDataType中的自增ID
		/// </summary>
		public int DateTypeID
		{
			set{ _datetypeid=value;}
			get{return _datetypeid;}
		}
		/// <summary>
		/// 文件名
		/// </summary>
		public string FileName
		{
			set{ _filename=value;}
			get{return _filename;}
		}
		/// <summary>
		/// 关键字   多个关键字之间以逗号隔开
		/// </summary>
		public string KeyWord
		{
			set{ _keyword=value;}
			get{return _keyword;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string DataMemo
		{
			set{ _datamemo=value;}
			get{return _datamemo;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public string Creator
		{
			set{ _creator=value;}
			get{return _creator;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 修改人
		/// </summary>
		public string Editor
		{
			set{ _editor=value;}
			get{return _editor;}
		}
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime? EditTime
		{
			set{ _edittime=value;}
			get{return _edittime;}
		}
		/// <summary>
		/// 排序
		/// </summary>
		public int? DispOrder
		{
			set{ _disporder=value;}
			get{return _disporder;}
		}
		/// <summary>
		/// 是否有效(0:无效，1：有效。默认为1)
		/// </summary>
		public int? ValidMark
		{
			set{ _validmark=value;}
			get{return _validmark;}
		}
		/// <summary>
		/// 扩展字段1
		/// </summary>
		public string Spare1
		{
			set{ _spare1=value;}
			get{return _spare1;}
		}
		/// <summary>
		/// 扩展字段2
		/// </summary>
		public string Spare2
		{
			set{ _spare2=value;}
			get{return _spare2;}
		}
		/// <summary>
		/// 扩展字段3
		/// </summary>
		public string Spare3
		{
			set{ _spare3=value;}
			get{return _spare3;}
		}
		/// <summary>
		/// 扩展字段4
		/// </summary>
		public string Spare4
		{
			set{ _spare4=value;}
			get{return _spare4;}
		}
		#endregion Model

	}
}

